<ui:composition xmlns="http://www.w3.org/1999/xhtml"
  xmlns:s="http://jboss.org/schema/seam/taglib"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:a4j="http://richfaces.org/a4j"
  xmlns:rich="http://richfaces.org/rich"
  template="/WEB-INF/facelets/email/template_email.xhtml">

  <ui:param name="toName" value="#{newProfileAction.name}"/>
  <ui:param name="toEmailAddr" value="#{newProfileAction.email}"/>
  <ui:param name="subject" value="#{msgs['jsf.email.activation.Subject']}"/>

  <ui:define name="body">
    <p>#{msgs.format('jsf.email.activation.profile.DearName',
      newProfileAction.name)}</p>

    <p>#{msgs['jsf.email.activation.ClickLinkToActivateAccount']}</p>

    <p>
      <a
        href="#{applicationConfiguration.serverPath}/account/activate/#{newProfileAction.activationKey}">
        #{msgs['jsf.email.activation.Link']}
      </a>
    </p>

    <p>
      #{msgs['jsf.email.alternate.copyPasteMessage']}
    </p>

    <p>
      <a
        href="#{applicationConfiguration.serverPath}/account/activate/#{newProfileAction.activationKey}">
        #{applicationConfiguration.serverPath}/account/activate/#{newProfileAction.activationKey}
      </a>
    </p>

    <p>
      #{msgs['jsf.UrlExpireMessage']}
    </p>
  </ui:define>

</ui:composition>
